[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
BTR Bit Test and Reset (386) Flags: O D I T S Z A P C
*
BTR destination, source
Logic: CF . bit, bit . 0
The Bit Test instructions manipulate individual bits. The source
operand specifies the bit position in the destination operand. BTR
copies that bit to the carry flag, and then resets it (sets it to 0) in
destination.
--------------------------------------------------------------------------
Operands Clocks Transfers Bytes Example
BTR register, immediate8 6 (386) - 3 BTR AX,3
BTR memory, immediate8 8 (386) - 3 BTR MEMLOC,3
BTR register, register 6 (386) - 3 BTR AX,BX
BTR memory, register 13 (386) - 3 BTR MEMLOC,AX
--------------------------------------------------------------------------
Note: Both memory and register operands can be either
16 bits or 32 bits.
See Also:
BSF
BSR
BT
BTC
BTS
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson